﻿@model BrnMall.Web.StoreAdmin.Models.DiningTableTypeModel

@section header{
    <title>排队项设置-餐位设置</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.unobtrusive.js"></script>
}
@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 店铺管理 &gt; 餐位设置 &gt; <span class="rightH1-cur">餐位类型设置</span> 
        <div class="right">
            <a href="@Url.Action("DiningTableList","Restaurant")" class="menuBT"><img src="/admin_store/images/goback.jpg" />返回列表</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    <div class="addTable">
        @using (Html.BeginForm("SaveDiningTableType", "Restaurant"))
    {

            @Html.HiddenFor(x => x.Id)

            <table width="100%">

                <tr>
                    <td width="180px" align="right">名称：</td>
                    <td>
                        @Html.TextBoxFor(x => x.Name, new { @class = "input", size = "15" })@Html.ValidationMessageFor(x => x.Name)
                    </td>
                </tr>
            </table>

            <table width="100%">
                <tr>
                    <td width="180px" align="right">
                        &nbsp;
                    </td>
                    <td>
                        <a href="" class="addBt" id="sumbitBut">
                            <img src="/admin_store/images/submit.jpg" />
                        </a>
                        <script type="text/javascript">
                            $(function () {
                                $("#sumbitBut").click(function () {
                                    $("form:first").submit();
                                    return false;
                                })
                            });
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        }
    </div>

}